package api

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type DeliverTypeAdminController struct {
	auto.DeliverTypeController
}

func init() {
	web.Router(conf.UrlPrefix + "/DeliverType/:id", 		&DeliverTypeAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefix + "/DeliverType/info", 		&DeliverTypeAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefix + "/DeliverType/scan", 		&DeliverTypeAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefix + "/DeliverType/list", 	    &DeliverTypeAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefix + "/DeliverType/update", 	&DeliverTypeAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefix + "/DeliverType/create", 	&DeliverTypeAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefix + "/DeliverType/copy", 	    &DeliverTypeAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefix + "/DeliverType/edit", 	    &DeliverTypeAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefix + "/DeliverType/delete", 	&DeliverTypeAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefix + "/DeliverType/:id/:field", &DeliverTypeAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefix + "/DeliverType/choice", &DeliverTypeAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefix + "/DeliverType/category", &DeliverTypeAdminController{}, "*:CategoryAction")
}
//func (this *DeliverTypeAdminController) Prepare() {}
//func (this *DeliverTypeAdminController) ListAction() {}
//func (this *DeliverTypeAdminController) GetAction() {}
//func (this *DeliverTypeAdminController) InfoAction() {}
//func (this *DeliverTypeAdminController) ScanAction() {}
//func (this *DeliverTypeAdminController) CreateAction() {}
//func (this *DeliverTypeAdminController) UpdateAction() {}
//func (this *DeliverTypeAdminController) CopyAction() {}
//func (this *DeliverTypeAdminController) DeleteAction() {}
//func (this *DeliverTypeAdminController) EditAction() {}
//func (this *DeliverTypeAdminController) SonsAction() {}
//func (this *DeliverTypeAdminController) ChoiceAction() {}
//func (this *DeliverTypeAdminController) CategoryAction() {}
